﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Policlinica
{
    public class SickList : BusinessObjectBase
    {
        private System.DateTime _started;
        private System.DateTime _finished;

    public SickList()
        {

        }

    public SickList(int id, bool isDeleted, DateTime started, DateTime finished): base(id, isDeleted)
        {
            _started = started;
            _finished = finished;
        }

    public SickList(DateTime started, DateTime finished)
        {
            _started = started;
            _finished = finished;
        }

        public System.DateTime Started
        {
            get
            {
                return this._started;
            }
            set
            {
                if ((this._started != value))
                {
                    this._started = value;
                }
            }
        }

        public System.DateTime Finished
        {
            get
            {
                return this._finished;
            }
            set
            {
                if ((this._finished != value))
                {
                    this._finished = value;
                }
            }
        }


        
    }
	
}
